import 'package:flutter_ahj_app/app/yhpc/YhpcModel.dart';
import 'package:flutter_ahj_app/base/basewidget/viewmodel/BaseViewModel.dart';

class YhpcViewModel extends BaseViewModel<YhpcModel> {
  @override
  YhpcModel get initModel => YhpcModel();

  Stream<Map> getBuMenDataStream() => model.getBuMenDataStream;
  getBuMenData(String orgName) {
    return model.getBuMenData(orgName);
  }

  Stream<Map> getPclxDataStream() => model.getPclxDataStream;
  getPclx() {
    return model.getPclx();
  }

  Stream<Map> getPersonDataStream() => model.getPersonDataStream;
  getPerson(var map) {
    return model.getPerson(map);
  }

  Stream<Map> getPcnrStream() => model.getPcnrStream;
  getPcnr(var map) {
    return model.getPcnr(map);
  }

  Stream<Map> getPcnrDataStream() => model.getPcnrDataStream;
  getPcnrData(var map) {
    return model.getPcnrData(map);
  }


   Stream<Map> getYhzlListDataStream() => model.getYhzlListDataStream;
   getYhzlListData(var map) {
     return model.getYhzlListData(map);
   }

   // 隐患详情
   Stream<Map> yhzlListDetailStream() => model.yhzlListDetailStream;
   yhzlListDetail(String id) {
     model.yhzlListDetail(id);
   }

  // 隐患详情--module
  Stream<Map> yhzlListDetailModuleStream() => model.yhzlListDetailModuleStream;
  yhzlDetailModule(String id) {
    model.yhzlDetailModule(id);
  }

  Stream<Map> submitRwStream() => model.submitRwStream;
  submitRw(var map) {
    return model.submitRw(map);
  }

  Stream<Map> getYhlbDataStream() => model.getYhlbDataStream;
  getYhlb() {
    return model.getYhlb();
  }

  Stream<Map> yhdjDataStream() => model.yhdjDataStream;
  yhdj(var map) {
    return model.yhdj(map);
  }

  Stream<Map> yhhcDataStream() => model.yhhcDataStream;
  yhhc(var map) {
    return model.yhhc(map);
  }

  Stream<Map> yhthDataStream() => model.yhthDataStream;
  yhth(var map) {
    return model.yhth(map);
  }

  Stream<Map> yhysDataStream() => model.yhysDataStream;
  yhys(var map) {
    return model.yhys(map);
  }

  Stream<Map> yhzgDataStream() => model.yhzgDataStream;
  yhzg(var map) {
    return model.yhzg(map);
  }

  Stream<Map> yhsbDataStream() => model.yhsbDataStream;
  yhsb(var map) {
    return model.yhsb(map);
  }

  Stream<Map> yhpdDataStream() => model.yhpdDataStream;
  yhpd(var map) {
    return model.yhpd(map);
  }
}
